Optimal. Leaf size=64 \[ \frac {553 (10 x+3)}{9610 \left (5 x^2+3 x+2\right )}+\frac {11 (13 x+7)}{310 \left (5 x^2+3 x+2\right )^2}+\frac {1106 \tan ^{-1}\left (\frac {10 x+3}{\sqrt {31}}\right )}{961 \sqrt {31}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 64, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {1660, 12, 614, 618, 204} \[ \frac {553 (10 x+3)}{9610 \left (5 x^2+3 x+2\right )}+\frac {11 (13 x+7)}{310 \left (5 x^2+3 x+2\right )^2}+\frac {1106 \tan ^{-1}\left (\frac {10 x+3}{\sqrt {31}}\right )}{961 \sqrt {31}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 204
Rule 614
Rule 618
Rule 1660
Rubi steps
\begin {align*} \int \frac {3-x+2 x^2}{\left (2+3 x+5 x^2\right )^3} \, dx &=\frac {11 (7+13 x)}{310 \left (2+3 x+5 x^2\right )^2}+\frac {1}{62} \int \frac {553}{5 \left (2+3 x+5 x^2\right )^2} \, dx\\ &=\frac {11 (7+13 x)}{310 \left (2+3 x+5 x^2\right )^2}+\frac {553}{310} \int \frac {1}{\left (2+3 x+5 x^2\right )^2} \, dx\\ &=\frac {11 (7+13 x)}{310 \left (2+3 x+5 x^2\right )^2}+\frac {553 (3+10 x)}{9610 \left (2+3 x+5 x^2\right )}+\frac {553}{961} \int \frac {1}{2+3 x+5 x^2} \, dx\\ &=\frac {11 (7+13 x)}{310 \left (2+3 x+5 x^2\right )^2}+\frac {553 (3+10 x)}{9610 \left (2+3 x+5 x^2\right )}-\frac {1106}{961} \operatorname {Subst}\left (\int \frac {1}{-31-x^2} \, dx,x,3+10 x\right )\\ &=\frac {11 (7+13 x)}{310 \left (2+3 x+5 x^2\right )^2}+\frac {553 (3+10 x)}{9610 \left (2+3 x+5 x^2\right )}+\frac {1106 \tan ^{-1}\left (\frac {3+10 x}{\sqrt {31}}\right )}{961 \sqrt {31}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 53, normalized size = 0.83 \[ \frac {\frac {31 \left (5530 x^3+4977 x^2+4094 x+1141\right )}{\left (5 x^2+3 x+2\right )^2}+2212 \sqrt {31} \tan ^{-1}\left (\frac {10 x+3}{\sqrt {31}}\right )}{59582} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.80, size = 75, normalized size = 1.17 \[ \frac {171430 \, x^{3} + 2212 \, \sqrt {31} {\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) + 154287 \, x^{2} + 126914 \, x + 35371}{59582 \, {\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 46, normalized size = 0.72 \[ \frac {1106}{29791} \, \sqrt {31} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) + \frac {5530 \, x^{3} + 4977 \, x^{2} + 4094 \, x + 1141}{1922 \, {\left (5 \, x^{2} + 3 \, x + 2\right )}^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 47, normalized size = 0.73 \[ \frac {1106 \sqrt {31}\, \arctan \left (\frac {\left (10 x +3\right ) \sqrt {31}}{31}\right )}{29791}+\frac {\frac {2765}{961} x^{3}+\frac {4977}{1922} x^{2}+\frac {2047}{961} x +\frac {1141}{1922}}{\left (5 x^{2}+3 x +2\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.96, size = 56, normalized size = 0.88 \[ \frac {1106}{29791} \, \sqrt {31} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) + \frac {5530 \, x^{3} + 4977 \, x^{2} + 4094 \, x + 1141}{1922 \, {\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 55, normalized size = 0.86 \[ \frac {1106\,\sqrt {31}\,\mathrm {atan}\left (\frac {10\,\sqrt {31}\,x}{31}+\frac {3\,\sqrt {31}}{31}\right )}{29791}+\frac {\frac {553\,x^3}{4805}+\frac {4977\,x^2}{48050}+\frac {2047\,x}{24025}+\frac {1141}{48050}}{x^4+\frac {6\,x^3}{5}+\frac {29\,x^2}{25}+\frac {12\,x}{25}+\frac {4}{25}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.18, size = 63, normalized size = 0.98 \[ \frac {5530 x^{3} + 4977 x^{2} + 4094 x + 1141}{48050 x^{4} + 57660 x^{3} + 55738 x^{2} + 23064 x + 7688} + \frac {1106 \sqrt {31} \operatorname {atan}{\left (\frac {10 \sqrt {31} x}{31} + \frac {3 \sqrt {31}}{31} \right )}}{29791} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________